package com.ljt.system.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ljt.system.mapper.DepartmentVoMapper;
import com.ljt.system.service.DepartmentVoService;
import com.ljt.system.vo.DepartmentVo;
import com.ljt.system.vo.UserVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ljt
 * @since 2021-06-27
 */
@Service
public class DepartmentVoServiceImpl extends ServiceImpl<DepartmentVoMapper, DepartmentVo> implements DepartmentVoService {

    @Autowired
    private DepartmentVoMapper departmentVoMapper;

    @Override
    public Page<DepartmentVo> queryAllDeptByCondition(Page userPage, String name) {
        return this.baseMapper.queryAllDeptByCondition(userPage,name);
    }
}
